var express = require('express');
var router = express.Router();

var UserModel = require('../schema/user');

router.get('/', function(req, res, next) {
	console.log(req.body);
  console.log(req.session);
  console.log(req.query);
  if(req.session.user){
		res.send('登录成功');
  }else{
  	res.send('登录失败');
  };
});

module.exports = router;